Average sentence length |
---|
16.4234 |
sentence length | percentage |
---|---|
2 | 0.0100 |
3 | 0.3200 |
4 | 1.2000 |
5 | 1.8900 |
6 | 3.1500 |
7 | 4.0000 |
8 | 4.6400 |
9 | 5.4700 |
10 | 4.9800 |
11 | 5.2100 |
12 | 5.3200 |
13 | 5.1100 |
14 | 5.1300 |
15 | 5.2500 |
16 | 4.8200 |
17 | 4.3400 |
18 | 3.8100 |
19 | 4.0400 |
20 | 3.5200 |
21 | 3.5200 |
22 | 3.1700 |
23 | 2.9500 |
24 | 2.2900 |
25 | 2.5500 |
26 | 1.8700 |
27 | 1.5900 |
28 | 1.4600 |
29 | 1.2400 |
30 | 1.3000 |
31 | 0.9600 |
32 | 1.1000 |
33 | 0.7000 |
34 | 0.6100 |
35 | 0.6300 |
36 | 0.5700 |
37 | 0.3800 |
38 | 0.2500 |
39 | 0.2000 |
40 | 0.1100 |
41 | 0.1500 |
42 | 0.0400 |
43 | 0.0400 |
44 | 0.0300 |
45 | 0.0600 |
46 | 0.0100 |
50 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters